package com.foreknow.elm.dao;

import com.foreknow.elm.po.OrderDetailet;

import java.util.List;

public interface OrderdetailetDao {
    /**
     * 批量添加明细
     * @param list
     * @return
     * @throws Exception
     */
    public int saveBatch(List<OrderDetailet> list)throws Exception;

    /**
     * 根据订单编号查询多个明细
     * @param  orderId
     * @return List<OrderDetailet>
     * @throws Exception
     */
    public List<OrderDetailet> listOrderDetailetByOrderId(int orderId)throws Exception;
}
